var express = require('express');
var router = express.Router();

/*权限*/
router.get('/admin', function (req, res, next) {
    res.render('power/admin-list', {title: 'admin'});
});

router.get('/adminAdd', function (req, res, next) {
    res.render('power/admin-add', {title: 'admin'});
});

router.get('/adminInfo', function (req, res, next) {
    res.render('power/admin-info', {title: 'admin'});
});

router.get('/role', function (req, res, next) {
    res.render('power/role-list', {title: 'role'});
});

router.get('/roleAdd', function (req, res, next) {
    res.render('power/role-add', {title: 'role'});
});

router.get('/roleInfo', function (req, res, next) {
    res.render('power/role-info', {title: 'role'});
});


module.exports = router;